package net.borderwars.robots;

import java.awt.*;

/**
 * @author Eric
 *         Date: Mar 12, 2004
 *         Time: 9:41:43 PM
 */
abstract public class Factory extends Robot {
    private static final int TIMEUNTILCREATION = 1000;
    private static final int FACTORY_WIDTH = 20;
    private static final int FACTORY_HEIGHT = 20;

    public Polygon getPoly () {
        return null;
    }

    public int getSpeed () {
        return 0;
    }

    public double getDirection () {
        return 0;
    }

    public int getCenterX () {
        return 0;
    }

    public int getCenterY () {
        return 0;
    }

    public void makeRobot () {

//        NewRobot nr = new NewRobot(bp.getClock().getCurrentTime() + TIMEUNTILCREATION);  // create a new robot 1 second into the future
//        nr.setProductionFactory(this);
//        nr.setBattlePlane(bp);
    }

    public int getWidth () {
        return FACTORY_WIDTH;
    }

    public int getHeight () {
        return FACTORY_HEIGHT;
    }

}
